//
//  CategoryListShowCell.m
//  FlyGift
//
//  Created by lanou3g on 15/7/17.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "CategoryListShowCell.h"

@implementation CategoryListShowCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        imageView.image = [UIImage imageNamed:@"icon_store_new@3x"];
//        [self addSubview:imageView];
        
        
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        view.backgroundColor = [UIColor whiteColor];
        view.layer.borderColor = kMainColor.CGColor;
        view.layer.borderWidth = 2.0;
        [self addSubview:view];
        [view addSubview:imageView];
//        UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, 20, frame.size.width, 20)];
//        label.center = self.center;
//        label.textAlignment = NSTextAlignmentCenter;
//        label.text = @"我想要买";
//        label.textColor = [UIColor whiteColor];
//        label.backgroundColor = [UIColor yellowColor];
//        [imageView addSubview:label];
    }
    return self;
}

@end
